//
//  HotDetailsCollectionViewCell.m
//  BeautifulShoppings
//
//  Created by GivenBmli on 16/9/1.
//  Copyright © 2016年 GivenBmli. All rights reserved.
//

#import "HotDetailsCollectionViewCell.h"
#import "TAMacro.h"
@implementation HotDetailsCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame{
    self  = [super initWithFrame:frame];
    if (self) {
        [self creatSubview:frame];
    }
    return self;
    
}
- (void)creatSubview:(CGRect)frame{
    self.webView = [[UIWebView alloc]initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT - SCREEN_HEIGHT / 10 - 64)];
    self.webView.backgroundColor = [UIColor whiteColor];
    self.webView.scrollView.bounces = NO;
    [self.contentView addSubview:self.webView];
}
@end
